﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Core;
using NHibernate;

namespace BrokerBase.Lib.Tool
{
    public static class DBServiceUtil
    {
        public static IBaseService<T> GetService<T>(ISession sess)
        {
            IBaseService<T> svr = new BaseService<T>(sess);

            return svr;
        }
    }
}
